package repository

import (
	"context"

	"gitee.com/monkeyPP/happy-mall/services/userservice/internal/domain/entity"
)

type User interface {
	Get(context.Context, *entity.User) (*entity.User, error)
	Add(context.Context, *entity.User) (*entity.User, error)
}
